package cn.itcast.day08.demo04;

public class Outer {
    public void methodOuter() {
        class Inner {//局部内部类
            int num = 10;

            public void methodInner() {
                System.out.println(num);
            }
        }
        Inner inner=new Inner();
        inner.methodInner();
    }
}
